/*css reset*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*::before,
*:after {
  box-sizing: border-box;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  width: 100%;
  height: 100%;
}
body {
  background: #eee;
}

form {
  margin: 20px;
  display: flex;
  justify-self: space-between;
}

.globalHead > form > input {
  height: 40px;
  width: 100%;

  margin-right: 20px;
  padding: 0 10px;
  border-radius: 4px;
  border: none;
  font-size: 18px;
  background-color: rgb(211, 211, 211);
}

.globalHead > form > button {
  white-space: nowrap;
  padding: 0 24px;
  border: none;
  border-radius: 4px;
  background-color: #0282b9;
  color: white;
  font-size: 16px;
}

.globalHead > form > button:hover {
  background-color: #14acec;
}

.globalMain {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.globalMain > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px;
}

.globalMain > ul > li {
  margin-bottom: 10px;
  background-color: white;
}

.globalMain > ul > li > .site {
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 4px;
  padding: 20px;
  position: relative;
  cursor: pointer;
}
.globalMain > ul > li > .site > .logo {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  cursor: default;
  border-radius: 6 px;
}

.globalMain > ul > li > .site:hover {
  background-color: lightgray;
}

.globalMain > ul > li > .site:hover .close {
  display: block;
}

.globalMain > ul > li > .site .close:hover {
  background-color: red;
}

.globalMain > ul > li > .site > .link {
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.globalMain > ul > li .addButton {
  font-size: 14px;
}
@media (min-width: 500px) {
  .searchForm {
    max-width: 600px;
    margin: 60px auto 80px auto;
  }
  .globalMain > ul {
    justify-content: start;
    margin-left: 0px;
    margin-right: -25px;
  }
  .globalMain > .siteList > li {
    margin-right: 25px;
    margin-bottom: 25px;
  }
}
